Skip to content

Fixed connector crash on not existing object#75

Open
Vasiliy-Bondarenko wants to merge 1 commit intosplittingred:developfrom
Vasiliy-Bondarenko:patch-1
Open

Fixed connector crash on not existing object#75
Vasiliy-Bondarenko wants to merge 1 commit intosplittingred:developfrom
Vasiliy-Bondarenko:patch-1

Conversation

@Vasiliy-Bondarenko
Copy link

Article comments connector crashes if article is absent while comment still exist and need to be moderated. Crash happens when connector tries to create URL for not existing object and it just throws error. So i made a trick - returning JS alert in url. I think it's much better when just crash :)

How to get error happen - delete resource from DB which has new comments and try to get comments for moderation in manager. connector will crash.

Article comments connector crashes if article is absent while comment still exist and need to be moderated. Crash happens when connector tries to create URL for not existing object and it just throws error. So i made a trick - returning JS alert in url. I think it's much better when just crash :)

How to get error happen - delete resource from DB which has new comments and try to get comments for moderation in manager. connector will crash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant